import React from 'react';
import { Switch, Route } from 'react-router-dom';
import Payment from './../views/cart/payment';
import Pay from './../views/cart/pay';
import Address from './../views/cart/address';
import Manage from './../views/cart/manage';
import Newaddress from './../views/cart/newaddress';
const Com = () => (
  <Switch>
    <Route path="/other/payment" component = { Payment } />
    <Route path="/other/pay" component = { Pay } />
    <Route path="/other/address" component = { Address } />
    <Route path="/other/manage" component = { Manage } />
    <Route path="/other/newaddress" component = { Newaddress } />
  </Switch>
)
export default Com;